package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 股权冻结历史信息
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sharesfrostlist")
@ApiModel(value="SharesfrostlistEntity对象", description="股权冻结历史信息")
public class SharesfrostlistEntity extends Model<SharesfrostlistEntity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("enterpriseName")
    private String enterprisename;

    @ApiModelProperty(value = "统一信用代码")
    private String creditcode;

    @ApiModelProperty(value = "冻结机关")
    @TableField("froAuth")
    private String froauth;

    @ApiModelProperty(value = "执行事项")
    @TableField("froItem")
    private String froitem;

    @ApiModelProperty(value = "冻结文号")
    @TableField("froDocNo")
    private String frodocno;

    @ApiModelProperty(value = "执行通知书文号")
    @TableField("froNotNo")
    private String fronotno;

    @ApiModelProperty(value = "被执行人")
    @TableField("froName")
    private String froname;

    @ApiModelProperty(value = "被执行人证照种类")
    @TableField("froCerType")
    private String frocertype;

    @ApiModelProperty(value = "被执行人证照号码")
    @TableField("froCerId")
    private String frocerid;

    @ApiModelProperty(value = "冻结金额(万元)")
    @TableField("froAm")
    private String froam;

    @ApiModelProperty(value = "冻结起始日期")
    @TableField("froFrom")
    private String frofrom;

    @ApiModelProperty(value = "冻结截至日期")
    @TableField("froTo")
    private String froto;

    @ApiModelProperty(value = "冻结期限")
    @TableField("froPeriod")
    private String froperiod;

    @ApiModelProperty(value = "公示日期")
    @TableField("froPubDate")
    private String fropubdate;

    @ApiModelProperty(value = "解冻机关")
    @TableField("thawAuth")
    private String thawauth;

    @ApiModelProperty(value = "解冻文号")
    @TableField("thawDocNo")
    private String thawdocno;

    @ApiModelProperty(value = "解冻日期")
    @TableField("thawDate")
    private String thawdate;

    @ApiModelProperty(value = "解冻说明")
    @TableField("thawComment")
    private String thawcomment;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
